package com.chushouya.order.dto.api.clerk.action;

import com.chushouya.order.constants.ClerkOrderActionEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("业务员提交用户收款方式")
@Data
public class ClerkSubmitCollectionAction extends ClerkBaseAction {

    public ClerkSubmitCollectionAction() {
        super.setOrderAction(ClerkOrderActionEnum.SUBMIT_COLLECTION);
    }

    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @ApiModelProperty("收款方式")
    private String collectName;

    @ApiModelProperty("收款人")
    private String name;

    @ApiModelProperty("收款账号")
    private String account;

    @ApiModelProperty("订单类型1:回收2:家电3:奢侈品")
    private Integer bizType;

}
